package com.inventive.jmscache.server;

import org.springframework.beans.factory.annotation.Required;

import java.util.List;

/**
 * User: grant
 */
public class JmsCacheConfigurationImpl implements JmsCacheConfiguration {

    private List<String> queues;
    private List<String> topics;

    private BackendCache backend;

    public List<String> getQueues() {
        return queues;
    }

    @Required
    public void setQueues(List<String> queues) {
        this.queues = queues;
    }

    public List<String> getTopics() {
        return topics;
    }

    @Required
    public void setTopics(List<String> topics) {
        this.topics = topics;
    }

    @Required
    public void setBackend(BackendCache backend) {
        this.backend = backend;
    }

    public BackendCache getBackend() {
        return backend;
    }
}
